package itsm.isperp.module.entity.project;

import itsm.isperp.framework.data.mybatis.domain.AbstractTreeNode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 项目预算模板实体
 * 
 * @author lizx
 * @date 2013-3-25
 */
@Entity
@Table(name = "proj_cost_template")
public class ProjCostTemplate extends AbstractTreeNode {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column
	String subjectName;

	@Column
	String code;

	@Column
	boolean fixAmount;

	@Column
	String calculateFormula;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public boolean isFixAmount() {
		return fixAmount;
	}

	public void setFixAmount(boolean fixAmount) {
		this.fixAmount = fixAmount;
	}

	public String getCalculateFormula() {
		return calculateFormula;
	}

	public void setCalculateFormula(String calculateFormula) {
		this.calculateFormula = calculateFormula;
	}

	public String getSubjectName() {
		return subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

}
